"""
Python程序设计语言第6周：函数

不定长参数
"""
def say_hi(greeting, *names):
    print(greeting + "，以下" + str(len(names)) + "几个人：")
    for name in names:
        print("\t" + name)


say_hi("你好")
say_hi("你好", "张三")
say_hi("你好","张三", "李四")
say_hi("你好","张三", "李四", "王五")